package code.example.base.reflect;

import code.example.tool.LogFactory;

public abstract  class AbstractHuman<T,E>  implements Human<T,E>{

    private String name;

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public E work(T t) {
        LogFactory.getLog().info("work with" +t.toString()+ ",return null");
        return null;
    }

}
